local M = {}

M.SETTLE_DRAW = 2
M.SETTLE_WIN = 1
M.SETTLE_LOSE = 0

M.PHASE_IDLE = 0
M.PHASE_DEAL = 1
M.PHASE_SETTLE = 2
M.PHASE_LOSE = 3
M.PHASE_WIN = 100
M.PHASE_PICK = 101
M.PHASE_PICKED = 102

M.RANK_HIGH_CARD = 1
M.RANK_ONE_PAIR = 2
M.RANK_JACKS_PAIR = 3
M.RANK_TWO_PAIR = 4
M.RANK_THREE_OF_A_KIND = 5
M.RANK_STRAIGHT = 6
M.RANK_FLUSH = 7
M.RANK_FULL_HOUSE = 8
M.RANK_FOUR_OF_A_KIND = 9
M.RANK_STRAIGHT_FLUSH = 10
M.RANK_ROYAL_STRAIGHT_FLUSH = 11

return M